package com.java.mapper;

import com.java.pojo.entity.UserInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.java.pojo.vo.UserInfoQueryVo;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.List;

/**
 * <p>
 * 用户基本信息 Mapper 接口
 * </p>
 *
 * @author Helen
 * @since 2021-07-08
 */
public interface UserInfoMapper extends BaseMapper<UserInfo> {

    List<UserInfo> getList(@Param("vo") UserInfoQueryVo userInfoQueryVo);

    void updateAmount(
            @Param("bindCode") String bindCode,
            @Param("amount") BigDecimal amount,
            @Param("freezeAmount") BigDecimal freezeAmount
            );

}
